package ex61;

import java.io.Serializable;

public class SchoolPersonnel implements Serializable {
    private int number;
    private String name;
    private String sex;
    private Curriculums[] curriculums;

    public SchoolPersonnel() {

    }

    public SchoolPersonnel(int number, String name, String sex, Curriculums[] curriculums) {
        this.number = number;
        this.name = name;
        this.sex = sex;
        this.curriculums = curriculums;
    }

    public int getnumber() {
        return number;
    }

    public String getname() {
        return name;
    }

    public String getsex() {
        return sex;
    }

    public Curriculums[] getCurriculums() {
        return curriculums;
    }

    public int setnumber(int number) {
        this.number = number;
        return number;
    }

    public String setname(String name) {
        this.name = name;
        return name;
    }

    public String setsex(String sex) {
        this.sex = sex;
        return sex;
    }

    public Curriculums[] setCurriculums(Curriculums[] curriculums) {
        this.curriculums = curriculums;
        return curriculums;
    }

}